﻿@model IEnumerable<Chbl.Models.Game>
<table>
    <tr>
        <th>
            Тур
        </th>
        <th>
            Хозяева
        </th>
        <th>
            Гости
        </th>
        <th>
            Счет
        </th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.TourNumber)
        </td>        
        <td>
            @Html.DisplayFor(modelItem => item.HomeTeam.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.RoadTeam.Name)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Score)
        </td>

    </tr>
}
</table>
